gdk/wayland: Use right modifiers for tablet button events
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 2 Dec 2021 15:19:16 +0000 (16:19 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 2 Dec 2021 16:06:35 +0000 (17:06 +0100)
commit72cf304a861d41aa76d25aa6027a70d36e4261c5
tree769c4114909ab13c9e62b31a7c1ac6705e00fb38
parent2611a996ff6c0a2bed340feb6a434a03ca7545ec
gdk/wayland: Use right modifiers for tablet button events

We are looking up the seat logical pointer modifiers (i.e. the wl_pointer),
not the ones for the tablet tool device. This breaks accounting further
along in GTK leaving stuck implicit grabs.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4102
gdk/wayland/gdkdevice-wayland.c